package com.lzh.redisdemo.repository;

import com.lzh.redisdemo.pojo.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @Classname UserRepository
 * @Description 自定义数据访问层的接口需要继承jpa提供的7个接口任意一个
 *  CrudRepository JPA提供的用户实现增删改查的接口
 * @Date 2021/9/26 16:18
 * @Created by liuzihao
 */
public interface UserRepository extends CrudRepository<User,Integer> {

}
